package com.example.clxy.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @Author liuhaoqi
 * @Date 2020/8/9 17:07
 * @Version 1.0
 */
public class ScheduleDto {
    private String scheduleid;

    private String experimentid;

    private String semesterid;

    //    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    private Date startdate;
//    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    private Date enddate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String date;

    private Integer maxnums;

    private Integer curnums;

    private String experimentroom;

    private String programid;
    private String platformid;
    private List<String> sectionlist;
    private List<String> wlclasslist;

    private String teacherid;

    public String getPlatformid() {
        return platformid;
    }

    public void setPlatformid(String platformid) {
        this.platformid = platformid;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getScheduleid() {
        return scheduleid;
    }

    public List<String> getSectionlist() {
        return sectionlist;
    }

    public void setSectionlist(List<String> sectionlist) {
        this.sectionlist = sectionlist;
    }

    public void setScheduleid(String scheduleid) {
        this.scheduleid = scheduleid;
    }

    public String getExperimentid() {
        return experimentid;
    }

    public void setExperimentid(String experimentid) {
        this.experimentid = experimentid;
    }

    public String getSemesterid() {
        return semesterid;
    }

    public void setSemesterid(String semesterid) {
        this.semesterid = semesterid;
    }

    public Integer getMaxnums() {
        return maxnums;
    }

    public void setMaxnums(Integer maxnums) {
        this.maxnums = maxnums;
    }

    public Integer getCurnums() {
        return curnums;
    }

    public void setCurnums(Integer curnums) {
        this.curnums = curnums;
    }

    public String getExperimentroom() {
        return experimentroom;
    }

    public void setExperimentroom(String experimentroom) {
        this.experimentroom = experimentroom;
    }

    public String getProgramid() {
        return programid;
    }

    public void setProgramid(String programid) {
        this.programid = programid;
    }

    public List<String> getWlclasslist() {
        return wlclasslist;
    }

    public void setWlclasslist(List<String> wlclasslist) {
        this.wlclasslist = wlclasslist;
    }

    public String getTeacherid() {
        return teacherid;
    }

    public void setTeacherid(String teacherid) {
        this.teacherid = teacherid;
    }
}
